home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / _bbs / pcbtool / doit.bat < prev    next >
DOS Batch File  |  1995-01-11  |  767b  |  22 lines

  1. rem %1 == disc directory
  2. if exist %cdrom%%1\00_index.txt goto ok
  3. echo no such file: %cdrom%%1\00_index.txt >> logfile
  4. goto end
  5. :ok
  6. if exist %output%\dir%2 goto bad
  7. goto ok2
  8. :bad
  9. echo duplicate output file: %output%\dir%2 >> logfile
  10. goto end
  11. :ok2
  12.  
  13. %cdrom%\_bbs\printh %cdrom% "#a.  #d.  Walnut Creek CDROM.\n"  > %output%\dir%2
  14. %cdrom%\_bbs\get_area other 0 %1 < %cdrom%\_bbs\dirs.txt >> %output%\dir%2
  15. echo path: %1 >> %output%\dir%2
  16. %cdrom%\_bbs\printh %cdrom% "#*-+25#a#d]\n" >> %output%\dir%2
  17. %cdrom%\_bbs\printh %cdrom% "Name           Size      Date    Description\n" >> %output%\dir%2
  18. %cdrom%\_bbs\printh  %cdrom% "============ ========  ========  #*=-8#a#d]\n" >> %output%\dir%2
  19.  
  20. %cdrom%\_bbs\c %in_type% pcb %cdrom%%1 %output%\dir%2
  21. :end
  22.